package com.xzjt.web.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xzjt.web.entity.SysRole;
import com.xzjt.web.mapper.SysRoleMapper;
import com.xzjt.web.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户角色 服务实现类
 * </p>
 *
 * @author yuandong
 * @since 2021-10-12
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {

    @Autowired
    private SysRoleMapper roleMapper;

    @Override
    public List<SysRole> selectRoleAll() {
        return roleMapper.selectList(null);
    }
}
